var app = angular.module('myApp', []);
app.controller('myCtrl', function ($scope) {
    window.scope = $scope
    $scope.getNumber = function (num) {
        return new Array(num);
    }

    $scope.getRandom = function () {
        return parseInt(Math.random()*100);
    }
    $scope.tabIndex = 0;
    $scope.setIndex = function (tabIndex) {
        $scope.tabIndex = tabIndex
    }
});


